package com.clqteam.model;
/**
 * 商品模型
 * @author ZHX
 *
 */
public class Product {
	private int pId;//商品id
	private String pName;//商品名
	private String pType;//商品型号
	private int pAmount;//商品库存量
	private String pClass;//商品类别
	private double pCost;//商品进价	
	private double pPrice;//商品预售价
	private String pTime;//进货时间
	private int supId;//供应商id
	private String supName;//供应商名
	private int poAmount;//商品成交量
	private double eSum;//单种商品总价	

	public void seteSum(double eSum) {
		this.eSum = eSum;
	}
	public int getpId() {
		return pId;
	}
	public void setpId(int pId) {
		this.pId = pId;
	}
	public String getpName() {
		return pName;
	}
	public void setpName(String pName) {
		this.pName = pName;
	}
	public String getpType() {
		return pType;
	}
	public void setpType(String pType) {
		this.pType = pType;
	}
	public int getpAmount() {
		return pAmount;
	}
	public void setpAmount(int pAmount) {
		this.pAmount = pAmount;
	}
	public String getpClass() {
		return pClass;
	}
	public void setpClass(String pClass) {
		this.pClass = pClass;
	}
	public double getpCost() {
		return pCost;
	}
	public void setpCost(double pCost) {
		this.pCost = pCost;
	}
	public double getpPrice() {
		return pPrice;
	}
	public void setpPrice(double pPrice) {
		this.pPrice = pPrice;
	}
	public String getpTime() {
		return pTime;
	}
	public void setpTime(String pTime) {
		this.pTime = pTime;
	}
	public int getSupId() {
		return supId;
	}
	public void setSupId(int supId) {
		this.supId = supId;
	}
	public String getSupName() {
		return supName;
	}
	public void setSupName(String supName) {
		this.supName = supName;
	}
	public int getPoAmount() {
		return poAmount;
	}
	public void setPoAmount(int poAmount) {
		this.poAmount = poAmount;
	}
	public double geteSum() {
		return eSum;
	}
	public Product(int pId, String pName, String pType, int pAmount, String pClass, int pCost, int pPrice,
			String pTime, int supId) {
		super();
		this.pId = pId;
		this.pName = pName;
		this.pType = pType;
		this.pAmount = pAmount;
		this.pClass = pClass;
		this.pCost = pCost;
		this.pPrice = pPrice;
		this.pTime = pTime;
		this.supId = supId;
	}
	public Product() {
		super();
		// TODO Auto-generated constructor stub
	}
}

